home *** CD-ROM | disk | FTP | other *** search
- tl = getProperty("../taz", _X) - "30";
- tr = getProperty("../taz", _X) + "30";
- tt = getProperty("../taz", _Y) - "60";
- tb = getProperty("../taz", _Y) - "30";
- cocox = _X;
- cocoy = _Y + "10";
- if(tl < cocox and cocox < tr and tt < cocoy and cocoy < tb)
- {
- tellTarget("../taz")
- {
- gotoAndStop("eat");
- play();
- }
- gotoAndPlay(28);
- }
- if("290" < _Y)
- {
- gotoAndPlay(10);
- }
- _Y = _Y + speed;
-